package com.ruoyi.wcf.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播图管理对象 wcf_rotation_manage
 *
 * @author LCL
 * @date 2022-04-06
 */
public class WcfRotationManage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 轮播图id */
    @Excel(name = "轮播图id")
    private Long rotationId;

    /** 轮播图 */
    @Excel(name = "轮播图")
    private String mainPicture;

    /** 跳转id */
    @Excel(name = "跳转id")
    private Long jumpId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    /** 删除标记（0-正常，1-删除） */
    @Excel(name = "删除标记", readConverterExp = "0=-正常，1-删除")
    private Integer delFlag;

    public void setRotationId(Long rotationId)
    {
        this.rotationId = rotationId;
    }

    public Long getRotationId()
    {
        return rotationId;
    }
    public void setMainPicture(String mainPicture)
    {
        this.mainPicture = mainPicture;
    }

    public String getMainPicture()
    {
        return mainPicture;
    }
    public void setJumpId(Long jumpId)
    {
        this.jumpId = jumpId;
    }

    public Long getJumpId()
    {
        return jumpId;
    }
    public void setCreateAt(Date createAt)
    {
        this.createAt = createAt;
    }

    public Date getCreateAt()
    {
        return createAt;
    }
    public void setUpdateAt(Date updateAt)
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt()
    {
        return updateAt;
    }
    public void setDelFlag(Integer delFlag)
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rotationId", getRotationId())
            .append("mainPicture", getMainPicture())
            .append("jumpId", getJumpId())
            .append("createAt", getCreateAt())
            .append("updateAt", getUpdateAt())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
